<?php
namespace Admin\Model;
use Think\Model;

    class RoleModel extends Model
    {

        //自动验证
        protected $_validate = array(
            array('node','require','权限名不能为空'),
        );


    }
